package com.sell.service;
import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.sell.entity.Employees;
import com.sell.mapper.EmployeesMapper;
@Service("employeesService")
public class EmployeesServiceImpl implements EmployeesService {
	@Resource
	private EmployeesMapper employeesMapper;
	
	public Employees getEmpById(Integer employeesId){
		Employees emp=employeesMapper.getEmpById(employeesId);
		return emp;
	}

	public Employees login(Integer concode, String password) {
		Employees emp=employeesMapper.login(concode, password);
		return emp;
	}
}